package com.bd.scm.domain.models.placeWhitelist;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName PlaceWhitelist
 * @Description TODO
 * @Author YH
 * @Date 2019/11/13 14:30
 * @Version 1.0
 **/
@Data
@Accessors(chain = true)
@TableName("dt_ac_dep_user")
public class PlaceWhitelist extends BaseRowModel implements Serializable {

    /**
     * 场所白名单ID
     */
    private String xh;

    /**
     * 用户ID
     */
    private String userSerial;


    /**
     * 场所ID
     */
    private String depAcSerial;

    /**
     * 场所名称
     */
    @ExcelProperty(value = "场所名称" ,index = 3)
    private String depAcName;

    /**
     * 门禁规则ID
     */
    private String userMj;

    /**
     * 门禁名称
     */
    @ExcelProperty(value = "门禁规则" ,index = 4)
    private String mc;

    /**
     * 工号
     */
    @ExcelProperty(value = "工号" ,index = 0)
    private String userNo;

    /**
     *姓名
     */
    @ExcelProperty(value = "姓名" ,index = 1)
    private String userName;

    /**
     *部门名称
     */
    @ExcelProperty(value = "部门名称" ,index = 2)
    private String depName;

    /**
     *人员状态(离职或者在职)
     */
    @ExcelProperty(value = "人员状态" ,index = 5)
    private String userType;

    /**
     * 门禁时段一
     */
    private String gz1;

    /**
     * 门禁时段二
     */
    private String gz2;

    /**
     *门禁时段三
     */
    private String gz3;

    /**
     *门禁时段四
     */
    private String gz4;

    /**
     *门禁时段五
     */
    private String gz5;
}
